Learn R Programming

Directional (version 4.0)

A test for testing the equality of the concentration parameters for ciruclar data: A test for testing the equality of the concentration parameter among g samples, where g >= 2 for ciruclar data

Description

A test for testing the equality of the concentration parameter among g samples, where g >= 2 for ciruclar data. It is a tangential approach.

Usage

tang.conc(u, ina, rads = FALSE)

Arguments

u

A numeric vector containing the values of all samples.

ina

A numerical variable or factor indicating the groups of each value.

rads

If the data are in radians this should be TRUE and FALSE otherwise.

Value

A vector including:

test

The value of the test statistic.

p-value

The p-value of the test.

Details

This test works for circular data.

References

Mardia, K. V. and Jupp, P. E. (2000). Directional statistics. Chicester: John Wiley & Sons. Fisher, N. I. (1995). Statistical analysis of circular data. Cambridge University Press.

See Also

embed.circaov, hcf.circaov, lr.circaov, het.circaov, conc.test

Examples

Run this code
# NOT RUN {
x <- rvonmises(100, 2.4, 15)
ina <- rep(1:4,each = 25)
tang.conc(x, ina, rads = TRUE)
# }

Run the code above in your browser using DataLab